package com.example.village.dao;

import com.example.village.entity.PayEntity;
import com.example.village.entityVO.PayDimVO;
import com.example.village.entityVO.PayVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface PayDao {

    List<PayVO> queryByDim(PayDimVO payDimVO);

    List<PayEntity> queryDimByUid(PayDimVO payDimVO);

    int insert(PayEntity payEntity);

    int update(PayEntity payEntity);

    int delete(@Param("id") Integer id);

    int deleteMore(@Param("ids") List<Integer> ids);
}
